package com.boo4g.center;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Auther: gingerjie
 * @Date: 2018/8/24 09:41
 * @Description:
 */
@EnableEurekaServer//启动一个服务注册中心提供给其他应用进行对话
@SpringBootApplication
@ComponentScan(basePackages={"com.boo4g"})
public class EurekaBootstrap {
    public static void main(String[] args) {
        SpringApplication.run(EurekaBootstrap.class,args);
    }
}
